package org.com.lcuiot.database.entity;

import io.mybatis.provider.Entity;

/**
 * 产品表
 *
 * @author gaoge
 * @since 2022-11-02 10:30:33
 */
@Entity.Table("product")
public class Product {


    /**
     * 产品ID
     */
    @Entity.Column(id = true)
    private String productId;

    /**
     * 产品名称
     */
    private String productName;

    /**
     * 协议：TCP透传
     */
    private String protocol;

    /**
     * 用户ID
     */
    private String userId;

    /**
     * Master-APIkey
     */
    private String masterKey;

    /**
     * access_key
     */
    private String accessKey;

    /**
     * 机构
     */
    private Long organizationId;

    /**
     * 创建时间
     */
    private Long createAt;

    /**
     * 修改时间
     */
    private Long updateAt;

    /**
     * 区域ID
     */
    private Long areaId;


    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProtocol() {
        return protocol;
    }

    public void setProtocol(String protocol) {
        this.protocol = protocol;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getMasterKey() {
        return masterKey;
    }

    public void setMasterKey(String masterKey) {
        this.masterKey = masterKey;
    }

    public String getAccessKey() {
        return accessKey;
    }

    public void setAccessKey(String accessKey) {
        this.accessKey = accessKey;
    }

    public Long getCreateAt() {
        return createAt;
    }

    public void setCreateAt(Long createAt) {
        this.createAt = createAt;
    }

    public Long getUpdateAt() {
        return updateAt;
    }

    public void setUpdateAt(Long updateAt) {
        this.updateAt = updateAt;
    }

    public Long getOrganizationId() {
        return organizationId;
    }

    public void setOrganizationId(Long organizationId) {
        this.organizationId = organizationId;
    }

    public Long getAreaId() {
        return areaId;
    }

    public void setAreaId(Long areaId) {
        this.areaId = areaId;
    }
}
